using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_ActionHistoryEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_ActionHistoryEntity()
         {
             tableName = "PT_ActionHistory";


			 fieldInfos.Add(new FieldInfo("PT_ActionHistory","ActionDate","ActionDate","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ActionHistory","ActionName","ActionName","string",100,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ActionHistory","Description","Description","string",1000,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ActionHistory","Id","Id","int",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ActionHistory","UserId","UserId","int",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected DateTime m_ActionDate;
		 protected string m_ActionName;
		 protected string m_Description;
		 protected int m_Id;
		 protected int m_UserId;

		 public DateTime ActionDate

          { 
                get { 
                    return m_ActionDate;}

                set{m_ActionDate=value;

                    GetField("ActionDate").Set();
                    GetField("ActionDate").IsNull=(value == null);           
                    }
          }
		 public string ActionName

          { 
                get { 
                    return m_ActionName;}

                set{m_ActionName=value;

                    GetField("ActionName").Set();
                    GetField("ActionName").IsNull=(value == null);           
                    }
          }
		 public string Description

          { 
                get { 
                    return m_Description;}

                set{m_Description=value;

                    GetField("Description").Set();
                    GetField("Description").IsNull=(value == null);           
                    }
          }
		 public int Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public int UserId

          { 
                get { 
                    return m_UserId;}

                set{m_UserId=value;

                    GetField("UserId").Set();
                    GetField("UserId").IsNull=(value == null);           
                    }
          }

}
}
